all:

python-console:
	PYTHONPATH=src python

serve-http:
	python serve_http.py

test:
	PYTHONPATH=src python -c "from lyricsdb import model; print model.Alias.find()"

test-req:
	curl -X POST 'http://localhost:8080/cgi-bin/lepserver.cgi' --data-binary @doc/example_req.xml

test-update:
	curl -X POST 'http://localhost:8080/cgi-bin/lepserver.cgi' --data-binary @doc/example_update.xml
